﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/MasterPage.Master" AutoEventWireup="true" CodeBehind="AddMarks.aspx.cs" Inherits="DrivingCRM.Views.Private.CRM.AddMarks" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="title" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="banniere" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="nav" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="contenu" runat="server">
    <table>
    <tr>
        <td>Client:</td>
        <td><asp:DropDownList ID="DDL_Client" runat="server" 
                    DataSourceID="DS_Client"
                    DataTextField="Username"
                    DataValueField="Id">
                    </asp:DropDownList></td>
    </tr>
    <tr>
        <td>Evénement:</td>
        <td><asp:DropDownList ID="DDL_Event" runat="server" 
                    DataSourceID="DS_Event"
                    DataTextField="CompleteEvent"
                    DataValueField="IdEvent">
                    </asp:DropDownList></td>
    </tr>
    <tr>
        <td>Note:</td>
        <td><asp:TextBox ID="MarkTextBox" runat="server" Text='' /></td>
    </tr>
    <tr>
        <td><asp:Button ID="AddMark" runat="server"
            Text="Add Mark" onclick="AddMark_Click" /></td>
   
    </tr>
    <tr>
        <td>
            <asp:Label ID="L_ErrorMessage"  runat="server" />
        </td>
    </tr>
    </table>

    <asp:EntityDataSource ID="DS_Client" runat="server" 
        ConnectionString="name=Model_DrivingCRMContainer" 
        DefaultContainerName="Model_DrivingCRMContainer" EntitySetName="UserSet" 
        EntityTypeFilter="Client">
    </asp:EntityDataSource>
    <asp:EntityDataSource ID="DS_Event" runat="server" 
        ConnectionString="name=Model_DrivingCRMContainer" 
        DefaultContainerName="Model_DrivingCRMContainer" EnableFlattening="False" 
        EntitySetName="EventSet" EntityTypeFilter="Event">
    </asp:EntityDataSource>


</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="footer" runat="server">
</asp:Content>
